<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://localhost/OntoWiki/" />
<title>RegisterNewUser</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">RegisterNewUser</td></tr>
</thead><tbody>
<tr>
	<td>pause</td>
	<td>2000</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='application']/div[1]/div[2]/ul/li[1]</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Register New User</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>name-input</td>
	<td>testuser</td>
</tr>
<tr>
	<td>type</td>
	<td>email-input</td>
	<td>test@example.com</td>
</tr>
<tr>
	<td>type</td>
	<td>pw1-input</td>
	<td>test12345</td>
</tr>
<tr>
	<td>type</td>
	<td>pw2-input</td>
	<td>test123456</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@class='messagebox']/div/a</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>Passwords do not match.</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>name-input</td>
	<td>testuser</td>
</tr>
<tr>
	<td>type</td>
	<td>pw1-input</td>
	<td>test123456</td>
</tr>
<tr>
	<td>type</td>
	<td>pw2-input</td>
	<td>test123456</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@class='messagebox']/div/a</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>Email address must not be empty.</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>name-input</td>
	<td>testuser</td>
</tr>
<tr>
	<td>type</td>
	<td>email-input</td>
	<td>teasdf</td>
</tr>
<tr>
	<td>type</td>
	<td>pw1-input</td>
	<td>test12345</td>
</tr>
<tr>
	<td>type</td>
	<td>pw2-input</td>
	<td>test12345</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@class='messagebox']/div/a</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>Email address validation failed.</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>name-input</td>
	<td>testuser</td>
</tr>
<tr>
	<td>type</td>
	<td>password</td>
	<td>test123456</td>
</tr>
<tr>
	<td>type</td>
	<td>email-input</td>
	<td>test@example.com</td>
</tr>
<tr>
	<td>type</td>
	<td>pw1-input</td>
	<td>test123456</td>
</tr>
<tr>
	<td>type</td>
	<td>pw2-input</td>
	<td>test123456</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@class='messagebox']/div/a</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>The user &quot;testuser&quot; has been successfully registered.</td>
	<td></td>
</tr>

</tbody></table>
</body>
</html>
